package com.logistics.service;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.easybuild.core.dao.AppBaseDao;
import cn.easybuild.core.service.StringPojoAppBaseServiceImpl;
import cn.easybuild.pojo.Paging;

import com.logistics.Template;
import com.logistics.dao.TemplateDao;

@Service
public class TemplateServiceImpl extends StringPojoAppBaseServiceImpl<Template> implements TemplateService {

	private TemplateDao dao;
	
	@Autowired
	public void setDao(TemplateDao dao) {
		this.dao = dao;
	}

	@Override
	protected AppBaseDao<Template, String> getDao() {
		return dao;
	}

	@Override
	public List<Template> query(Paging paging) {
		return dao.query(paging);
	}

}
